/**
 * 
 */
package com.ambow.service;

import java.util.List;

import com.ambow.Entity.Stock;

/**
 * @author Administrator
 *
 */
public interface StockService {
	public List<Stock> Query(String sql,String[] param);
	public Stock QueryOne(String sql,String[] param);
	public Stock getOne(Class c,int id);
	public boolean  update(Stock stock);
	public boolean add(Stock stock);
	public Stock queryStock(String hql);
}
